package com.chaodev.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("菜单信息")
public class Menu {
    @ApiModelProperty("菜单id")
    private String menuId;
    @ApiModelProperty("菜单名称")
    private String menuName;
    @ApiModelProperty("父级菜单id")
    private String parentMenuId;
    @ApiModelProperty("菜单备注")
    private String menuDsc;
    @ApiModelProperty("菜单路径")
    private String menuPath;
    @ApiModelProperty("图标路径")
    private String iconPath;
    @ApiModelProperty("数据源")
    private String dataSource;
    @ApiModelProperty("报表路径")
    private String reportPath;
    @ApiModelProperty("排序id")
    private String orderId;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("创建人工号")
    private String createUser;
    @ApiModelProperty("菜单类型")
    private String menuLx;
    @ApiModelProperty("区域编码")
    private String areaCode;
    @ApiModelProperty("状态")
    private String state;
    @ApiModelProperty("菜单描述、备注")
    private String dsc;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        if (menuId.equals("") || menuId == null) {
            this.menuId = "";
        } else {
            this.menuId = menuId;
        }
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        if (menuName.equals("") || menuName == null) {
            this.menuName = "";
        } else {
            this.menuName = menuName;
        }
    }

    public String getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(String parentMenuId) {
        if (parentMenuId.equals("") || parentMenuId == null) {
            this.parentMenuId = "";
        } else {
            this.parentMenuId = parentMenuId;
        }
    }

    public String getMenuDsc() {
        return menuDsc;
    }

    public void setMenuDsc(String menuDsc) {
        if (menuDsc.equals("") || menuDsc == null) {
            this.menuDsc = "";
        } else {
            this.menuDsc = menuDsc;
        }
    }

    public String getMenuPath() {
        return menuPath;
    }

    public void setMenuPath(String menuPath) {
        if (menuPath.equals("") || menuPath == null) {
            this.menuPath = "";
        } else {
            this.menuPath = menuPath;
        }
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        if (iconPath.equals("") || iconPath == null) {
            this.iconPath = "";
        } else {
            this.iconPath = iconPath;
        }
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        if (dataSource.equals("") || dataSource == null) {
            this.dataSource = "";
        } else {
            this.dataSource = dataSource;
        }
    }

    public String getReportPath() {
        return reportPath;
    }

    public void setReportPath(String reportPath) {
        if (reportPath.equals("") || reportPath == null) {
            this.reportPath = "";
        } else {
            this.reportPath = reportPath;
        }
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        if (orderId.equals("") || orderId == null) {
            this.orderId = "";
        } else {
            this.orderId = orderId;
        }
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        if (createTime.equals("") || createTime == null) {
            this.createTime = "";
        } else {
            this.createTime = createTime;
        }
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        if (createUser.equals("") || createUser == null) {
            this.createUser = "";
        } else {
            this.createUser = createUser;
        }
    }

    public String getMenuLx() {
        return menuLx;
    }

    public void setMenuLx(String menuLx) {
        if (menuLx.equals("") || menuLx == null) {
            this.menuLx = "";
        } else {
            this.menuLx = menuLx;
        }
    }


    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        if (areaCode.equals("") || areaCode == null) {
            this.areaCode = "";
        } else {
            this.areaCode = areaCode;
        }
    }

    public String getDsc() {
        return dsc;
    }

    public void setDsc(String dsc) {
        this.dsc = dsc;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "menuId='" + menuId + '\'' +
                ", menuName='" + menuName + '\'' +
                ", parentMenuId='" + parentMenuId + '\'' +
                ", menuDsc='" + menuDsc + '\'' +
                ", menuPath='" + menuPath + '\'' +
                ", iconPath='" + iconPath + '\'' +
                ", dataSource='" + dataSource + '\'' +
                ", reportPath='" + reportPath + '\'' +
                ", orderId='" + orderId + '\'' +
                ", createTime='" + createTime + '\'' +
                ", createUser='" + createUser + '\'' +
                ", menuLx='" + menuLx + '\'' +
                ", areaCode='" + areaCode + '\'' +
                ", state='" + state + '\'' +
                ", dsc='" + dsc + '\'' +
                '}';
    }
}




